<template>
  <div class="demo">
    <div class="demo-title">基本用法</div>
    <div class="demo-content">
      <Tag>Tag 1</Tag>
      <Tag><a href="https://design.ssc-hn.com">Link</a></Tag>
      <Tag closable @close="log">Tag 2</Tag>
      <Tag closable @close.prevent>Prevent Default</Tag>
    </div>
  </div>
</template>

<script lang="ts" setup>
  import Tag from '@sscd/tag';
  const log = (e: MouseEvent) => console.log(e);
</script>
